﻿using Swimj.CommonLib.Attributes;

namespace DataServer.CommonLib.Models.Dimension
{
    public class DimensionInfoResponseDto
    {
        public Guid Key { get; set; }

        [TableColumn(DisplayText = "维度编码")] public string? DimensionCode { get; set; }

        [TableColumn(DisplayText = "维度名称")] public string? DimensionName { get; set; }

        public int BusinessType { get; set; }

        public bool IsPublish { get; set; }

        public string? DimensionType { get; set; }

        public Guid? DatabaseId { get; set; }

        public string? DatabaseName { get; set; }

        public string? DatabaseObjectType { get; set; }

        public string? DatabaseObject { get; set; }

        [TableColumn(DisplayText = "键字段")] public string? ValueField { get; set; }

        [TableColumn(DisplayText = "值字段")] public string? TextField { get; set; }

        public string? FilterCriteria { get; set; }

        public string? OrderCriteria { get; set; }

        [TableColumn(DisplayText = "排序")] public int Sort { get; set; }

        public string? Description { get; set; }
    }
}